package cn.hsa.fqz.monitor.controller.vo;

import cn.hsa.fqz.common.utils.page.BasePage;
import cn.hsa.fqz.monitor.entity.TMonitorEntityExecuteSql;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * @Description TODO
 * @ClassName TagMonitorQueryVO
 * @Author Liu.Jun
 * @Create 2023-10-20 15:58
 * @Version 1.0.0
 */
@ApiModel("数据监测查询VO")
@Data
public class TagMonitorQueryVO implements Serializable {

    private BasePage page;

    private  Integer id;

    @ApiModelProperty("待查询指标列表")
    private List<String> tagList;

    @ApiModelProperty("维度集合")
    private List<String> dimensions;

    @ApiModelProperty("查询年份")
    private String year;

    @ApiModelProperty("查询类型(daily/weekly/monthly/quarterly/halfyearly/yearly")
    private String queryType;

    @ApiModelProperty("主体编码")
    private List<String> subjectCode;

    @ApiModelProperty("指标条件")
    private List<ConditionVO> conditions;

    @ApiModelProperty("查询所属周")
    private String week;

    @ApiModelProperty("查询月份")
    private String month;

    @ApiModelProperty("实体编码")
    private String entityCode;

    @ApiModelProperty("业务类型编码")
    private String bussCode;

    @ApiModelProperty("模型编码")
    private String modelCode;

    @ApiModelProperty("市级编码")
    private String admdvs;

    @ApiModelProperty("查询参数map")
    private Map<String,Object> params;

    private boolean currentUser;

    @ApiModelProperty("行政区划类型(0:全国,1:省,2:地市)")
    private String admdvsType;

    @ApiModelProperty("是否行政区划查询")
    private boolean admdvsQuery;

    private String beginTime;

    private String endTime;

    private TMonitorEntityExecuteSql execute;

}
